home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / System 7 / Frontier / Frontier SDK 2.1.sit / Frontier SDK 2.1 / Toolkits / IAC Tools / iacsend.c < prev    next >
MacBinary  |  1993-06-09  |  3.9 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Wed Jun 9 15:19:32 1993, modified Wed Jun 9 15:19:32 1993, creator Think C, type ASCII, 3298 bytes "iacsend.c" , at 0xd62 402 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 69 61 63 73 65 6e | 64 2e 63 00 00 00 00 00 |..iacsen|d.c.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 0c e2 00 | 00 01 92 a8 3b e8 44 a8 |........|....;.D.|
|00000060| 3b e8 44 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |;.D.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 45 03 00 00 |........|....E...|
|00000080| 0d 2f 2a a9 20 43 6f 70 | 79 72 69 67 68 74 20 31 |./*. Cop|yright 1|
|00000090| 39 38 38 2d 31 39 39 32 | 20 55 73 65 72 4c 61 6e |988-1992| UserLan|
|000000a0| 64 20 53 6f 66 74 77 61 | 72 65 2c 20 49 6e 63 2e |d Softwa|re, Inc.|
|000000b0| 20 20 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 | All Ri|ghts Res|
|000000c0| 65 72 76 65 64 2e 2a 2f | 0d 0d 23 69 6e 63 6c 75 |erved.*/|..#inclu|
|000000d0| 64 65 20 22 69 61 63 69 | 6e 74 65 72 6e 61 6c 2e |de "iaci|nternal.|
|000000e0| 68 22 0d 0d 23 69 66 20 | 5f 5f 6f 70 74 69 6f 6e |h"..#if |__option|
|000000f0| 20 28 61 34 5f 67 6c 6f | 62 61 6c 73 29 0d 0d 09 | (a4_glo|bals)...|
|00000100| 23 69 6e 63 6c 75 64 65 | 20 3c 53 65 74 75 70 41 |#include| <SetupA|
|00000110| 34 2e 68 3e 0d 0d 23 65 | 6e 64 69 66 0d 0d 0d 2f |4.h>..#e|ndif.../|
|00000120| 2a 0d 38 2f 32 34 2f 39 | 32 20 44 57 3a 20 54 68 |*.8/24/9|2 DW: Th|
|00000130| 69 73 20 66 69 6c 65 20 | 69 6e 63 6c 75 64 65 73 |is file |includes|
|00000140| 20 72 6f 75 74 69 6e 65 | 73 20 74 68 61 74 20 61 | routine|s that a|
|00000150| 72 65 20 6c 69 6b 65 6c | 79 20 74 6f 20 62 65 20 |re likel|y to be |
|00000160| 75 73 65 64 20 62 79 20 | 63 6f 64 65 20 0d 74 68 |used by |code .th|
|00000170| 61 74 20 73 65 6e 64 73 | 20 41 70 70 6c 65 20 45 |at sends| Apple E|
|00000180| 76 65 6e 74 73 2e 0d 2a | 2f 0d 0d 2f 2a 0d 36 2f |vents..*|/../*.6/|
|00000190| 36 2f 39 33 20 4a 57 42 | 3a 20 43 68 61 6e 67 65 |6/93 JWB|: Change|
|000001a0| 20 23 69 66 64 65 66 20 | 63 6f 64 65 72 65 73 6f | #ifdef |codereso|
|000001b0| 75 72 63 65 20 69 6e 73 | 74 61 6e 63 65 73 20 74 |urce ins|tances t|
|000001c0| 6f 20 23 69 66 20 5f 5f | 6f 70 74 69 6f 6e 20 28 |o #if __|option (|
|000001d0| 61 34 5f 67 6c 6f 62 61 | 6c 73 29 0d 74 6f 20 6d |a4_globa|ls).to m|
|000001e0| 61 6b 65 20 74 68 69 73 | 20 61 75 74 6f 6d 61 74 |ake this| automat|
|000001f0| 69 63 2e 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |ic.. | |
|00000200| 43 68 61 6e 67 65 20 61 | 34 49 41 43 77 61 69 74 |Change a|4IACwait|
|00000210| 72 6f 75 74 69 6e 65 20 | 28 29 20 74 6f 20 66 6f |routine |() to fo|
|00000220| 72 77 61 72 64 20 74 68 | 65 20 76 61 6c 75 65 20 |rward th|e value |
|00000230| 72 65 74 75 72 6e 65 64 | 20 62 79 0d 20 20 20 20 |returned| by. |
|00000240| 20 20 20 20 20 20 20 20 | 49 41 43 77 61 69 74 72 | |IACwaitr|
|00000250| 6f 75 74 69 6e 65 20 28 | 29 0d 2a 2f 0d 0d 0d 42 |outine (|).*/...B|
|00000260| 6f 6f 6c 65 61 6e 20 49 | 41 43 6e 65 77 76 65 72 |oolean I|ACnewver|
|00000270| 62 20 28 4f 53 54 79 70 | 65 20 72 65 63 65 69 76 |b (OSTyp|e receiv|
|00000280| 65 72 2c 20 4f 53 54 79 | 70 65 20 76 63 6c 61 73 |er, OSTy|pe vclas|
|00000290| 73 2c 20 4f 53 54 79 70 | 65 20 76 74 6f 6b 65 6e |s, OSTyp|e vtoken|
|000002a0| 2c 20 41 70 70 6c 65 45 | 76 65 6e 74 20 2a 65 76 |, AppleE|vent *ev|
|000002b0| 65 6e 74 29 20 7b 0d 0d | 09 2f 2a 0d 09 63 72 65 |ent) {..|./*..cre|
|000002c0| 61 74 65 20 61 20 6e 65 | 77 20 41 70 70 6c 65 45 |ate a ne|w AppleE|
|000002d0| 76 65 6e 74 20 72 65 63 | 6f 72 64 20 61 64 64 72 |vent rec|ord addr|
|000002e0| 65 73 73 65 64 20 74 6f | 20 74 68 65 20 72 65 63 |essed to| the rec|
|000002f0| 69 70 69 65 6e 74 2c 20 | 6f 66 20 74 68 65 20 69 |ipient, |of the i|
|00000300| 6e 64 69 63 61 74 65 64 | 20 63 6c 61 73 73 2c 0d |ndicated| class,.|
|00000310| 09 77 69 74 68 20 74 68 | 65 20 69 6e 64 69 63 61 |.with th|e indica|
|00000320| 74 65 64 20 74 6f 6b 65 | 6e 20 69 64 65 6e 74 69 |ted toke|n identi|
|00000330| 66 69 65 72 2e 20 72 65 | 74 75 72 6e 20 74 72 75 |fier. re|turn tru|
|00000340| 65 20 69 66 20 69 74 20 | 77 6f 72 6b 65 64 2c 20 |e if it |worked, |
|00000350| 66 61 6c 73 65 20 6f 74 | 68 65 72 77 69 73 65 2e |false ot|herwise.|
|00000360| 0d 09 2a 2f 0d 09 0d 09 | 41 45 41 64 64 72 65 73 |..*/....|AEAddres|
|00000370| 73 44 65 73 63 20 61 64 | 72 3b 20 0d 09 4f 53 45 |sDesc ad|r; ..OSE|
|00000380| 72 72 20 65 72 72 63 6f | 64 65 3b 0d 09 0d 09 41 |rr errco|de;....A|
|00000390| 45 43 72 65 61 74 65 44 | 65 73 63 20 28 74 79 70 |ECreateD|esc (typ|
|000003a0| 65 41 70 70 6c 53 69 67 | 6e 61 74 75 72 65 2c 20 |eApplSig|nature, |
|000003b0| 28 50 74 72 29 20 26 72 | 65 63 65 69 76 65 72 2c |(Ptr) &r|eceiver,|
|000003c0| 20 73 69 7a 65 6f 66 20 | 28 72 65 63 65 69 76 65 | sizeof |(receive|
|000003d0| 72 29 2c 20 26 61 64 72 | 29 3b 0d 09 0d 09 65 72 |r), &adr|);....er|
|000003e0| 72 63 6f 64 65 20 3d 20 | 41 45 43 72 65 61 74 65 |rcode = |AECreate|
|000003f0| 41 70 70 6c 65 45 76 65 | 6e 74 20 28 0d 09 09 0d |AppleEve|nt (....|
|00000400| 09 09 76 63 6c 61 73 73 | 2c 20 76 74 6f 6b 65 6e |..vclass|, vtoken|
|00000410| 2c 20 26 61 64 72 2c 20 | 6b 41 75 74 6f 47 65 6e |, &adr, |kAutoGen|
|00000420| 65 72 61 74 65 52 65 74 | 75 72 6e 49 44 2c 20 6b |erateRet|urnID, k|
|00000430| 41 6e 79 54 72 61 6e 73 | 61 63 74 69 6f 6e 49 44 |AnyTrans|actionID|
|00000440| 2c 20 65 76 65 6e 74 29 | 3b 0d 09 0d 09 41 45 44 |, event)|;....AED|
|00000450| 69 73 70 6f 73 65 44 65 | 73 63 20 28 26 61 64 72 |isposeDe|sc (&adr|
|00000460| 29 3b 0d 09 0d 09 49 41 | 43 67 6c 6f 62 61 6c 73 |);....IA|Cglobals|
|00000470| 2e 65 72 72 6f 72 63 6f | 64 65 20 3d 20 65 72 72 |.errorco|de = err|
|00000480| 63 6f 64 65 3b 0d 09 0d | 09 72 65 74 75 72 6e 20 |code;...|.return |
|00000490| 28 65 72 72 63 6f 64 65 | 20 3d 3d 20 6e 6f 45 72 |(errcode| == noEr|
|000004a0| 72 29 3b 0d 09 7d 20 2f | 2a 49 41 43 6e 65 77 76 |r);..} /|*IACnewv|
|000004b0| 65 72 62 2a 2f 0d 0d 0d | 23 69 66 20 5f 5f 6f 70 |erb*/...|#if __op|
|000004c0| 74 69 6f 6e 20 28 61 34 | 5f 67 6c 6f 62 61 6c 73 |tion (a4|_globals|
|000004d0| 29 0d 0d 73 74 61 74 69 | 63 20 70 61 73 63 61 6c |)..stati|c pascal|
|000004e0| 20 73 68 6f 72 74 20 61 | 34 49 41 43 77 61 69 74 | short a|4IACwait|
|000004f0| 72 6f 75 74 69 6e 65 20 | 28 45 76 65 6e 74 52 65 |routine |(EventRe|
|00000500| 63 6f 72 64 20 2a 65 76 | 2c 20 6c 6f 6e 67 20 2a |cord *ev|, long *|
|00000510| 73 6c 65 65 70 2c 20 52 | 67 6e 48 61 6e 64 6c 65 |sleep, R|gnHandle|
|00000520| 20 2a 6d 6f 75 73 65 72 | 67 6e 29 20 7b 0d 09 0d | *mouser|gn) {...|
|00000530| 09 73 68 6f 72 74 20 72 | 65 73 75 6c 74 3b 0d 09 |.short r|esult;..|
|00000540| 0d 09 53 65 74 55 70 41 | 34 20 28 29 3b 0d 09 0d |..SetUpA|4 ();...|
|00000550| 09 72 65 73 75 6c 74 20 | 3d 20 49 41 43 77 61 69 |.result |= IACwai|
|00000560| 74 72 6f 75 74 69 6e 65 | 20 28 65 76 2c 20 73 6c |troutine| (ev, sl|
|00000570| 65 65 70 2c 20 6d 6f 75 | 73 65 72 67 6e 29 3b 0d |eep, mou|sergn);.|
|00000580| 09 0d 09 52 65 73 74 6f | 72 65 41 34 20 28 29 3b |...Resto|reA4 ();|
|00000590| 0d 09 0d 09 72 65 74 75 | 72 6e 20 28 72 65 73 75 |....retu|rn (resu|
|000005a0| 6c 74 29 3b 0d 09 7d 20 | 2f 2a 61 34 49 41 43 77 |lt);..} |/*a4IACw|
|000005b0| 61 69 74 72 6f 75 74 69 | 6e 65 2a 2f 0d 0d 23 65 |aitrouti|ne*/..#e|
|000005c0| 6e 64 69 66 0d 0d 0d 42 | 6f 6f 6c 65 61 6e 20 49 |ndif...B|oolean I|
|000005d0| 41 43 73 65 6e 64 76 65 | 72 62 20 28 41 70 70 6c |ACsendve|rb (Appl|
|000005e0| 65 45 76 65 6e 74 20 2a | 65 76 65 6e 74 2c 20 41 |eEvent *|event, A|
|000005f0| 70 70 6c 65 45 76 65 6e | 74 20 2a 72 65 70 6c 79 |ppleEven|t *reply|
|00000600| 29 20 7b 0d 0d 09 2f 2a | 0d 09 63 61 6c 6c 65 72 |) {.../*|..caller|
|00000610| 20 6d 75 73 74 20 64 69 | 73 70 6f 73 65 20 6f 66 | must di|spose of|
|00000620| 20 74 68 65 20 72 65 70 | 6c 79 2e 0d 09 2a 2f 0d | the rep|ly...*/.|
|00000630| 0d 09 72 65 67 69 73 74 | 65 72 20 4f 53 45 72 72 |..regist|er OSErr|
|00000640| 20 65 63 3b 0d 09 6c 6f | 6e 67 20 6d 6f 64 65 3b | ec;..lo|ng mode;|
|00000650| 0d 09 0d 09 6d 6f 64 65 | 20 3d 20 6b 41 45 57 61 |....mode| = kAEWa|
|00000660| 69 74 52 65 70 6c 79 20 | 2b 20 6b 41 45 43 61 6e |itReply |+ kAECan|
|00000670| 49 6e 74 65 72 61 63 74 | 20 2b 20 6b 41 45 43 61 |Interact| + kAECa|
|00000680| 6e 53 77 69 74 63 68 4c | 61 79 65 72 3b 0d 09 0d |nSwitchL|ayer;...|
|00000690| 09 23 69 66 20 5f 5f 6f | 70 74 69 6f 6e 20 28 61 |.#if __o|ption (a|
|000006a0| 34 5f 67 6c 6f 62 61 6c | 73 29 0d 09 0d 09 09 52 |4_global|s).....R|
|000006b0| 65 6d 65 6d 62 65 72 41 | 34 20 28 29 3b 0d 09 09 |ememberA|4 ();...|
|000006c0| 0d 09 09 65 63 20 3d 20 | 41 45 53 65 6e 64 20 28 |...ec = |AESend (|
|000006d0| 0d 09 09 09 0d 09 09 09 | 65 76 65 6e 74 2c 20 72 |........|event, r|
|000006e0| 65 70 6c 79 2c 20 6d 6f | 64 65 2c 20 6b 41 45 4e |eply, mo|de, kAEN|
|000006f0| 6f 72 6d 61 6c 50 72 69 | 6f 72 69 74 79 2c 20 6b |ormalPri|ority, k|
|00000700| 4e 6f 54 69 6d 65 4f 75 | 74 2c 20 0d 09 09 09 0d |NoTimeOu|t, .....|
|00000710| 09 09 09 28 50 72 6f 63 | 50 74 72 29 20 61 34 49 |...(Proc|Ptr) a4I|
|00000720| 41 43 77 61 69 74 72 6f | 75 74 69 6e 65 2c 20 6e |ACwaitro|utine, n|
|00000730| 69 6c 29 3b 0d 09 09 0d | 09 23 65 6c 73 65 0d 09 |il);....|.#else..|
|00000740| 0d 09 09 65 63 20 3d 20 | 41 45 53 65 6e 64 20 28 |...ec = |AESend (|
|00000750| 0d 09 09 09 0d 09 09 09 | 65 76 65 6e 74 2c 20 72 |........|event, r|
|00000760| 65 70 6c 79 2c 20 6d 6f | 64 65 2c 20 6b 41 45 4e |eply, mo|de, kAEN|
|00000770| 6f 72 6d 61 6c 50 72 69 | 6f 72 69 74 79 2c 20 6b |ormalPri|ority, k|
|00000780| 4e 6f 54 69 6d 65 4f 75 | 74 2c 20 0d 09 09 09 0d |NoTimeOu|t, .....|
|00000790| 09 09 09 28 50 72 6f 63 | 50 74 72 29 20 49 41 43 |...(Proc|Ptr) IAC|
|000007a0| 77 61 69 74 72 6f 75 74 | 69 6e 65 2c 20 6e 69 6c |waitrout|ine, nil|
|000007b0| 29 3b 0d 09 09 0d 09 23 | 65 6e 64 69 66 0d 09 0d |);.....#|endif...|
|000007c0| 09 41 45 44 69 73 70 6f | 73 65 44 65 73 63 20 28 |.AEDispo|seDesc (|
|000007d0| 65 76 65 6e 74 29 3b 09 | 0d 09 0d 09 49 41 43 67 |event);.|....IACg|
|000007e0| 6c 6f 62 61 6c 73 2e 65 | 72 72 6f 72 63 6f 64 65 |lobals.e|rrorcode|
|000007f0| 20 3d 20 65 63 3b 0d 09 | 0d 09 72 65 74 75 72 6e | = ec;..|..return|
|00000800| 20 28 65 63 20 3d 3d 20 | 6e 6f 45 72 72 29 3b 0d | (ec == |noErr);.|
|00000810| 09 7d 20 2f 2a 49 41 43 | 73 65 6e 64 76 65 72 62 |.} /*IAC|sendverb|
|00000820| 2a 2f 0d 0d 0d 42 6f 6f | 6c 65 61 6e 20 49 41 43 |*/...Boo|lean IAC|
|00000830| 73 65 6e 64 76 65 72 62 | 6e 6f 72 65 70 6c 79 20 |sendverb|noreply |
|00000840| 28 41 70 70 6c 65 45 76 | 65 6e 74 20 2a 65 76 65 |(AppleEv|ent *eve|
|00000850| 6e 74 2c 20 41 70 70 6c | 65 45 76 65 6e 74 20 2a |nt, Appl|eEvent *|
|00000860| 72 65 70 6c 79 29 20 7b | 0d 0d 09 4f 53 45 72 72 |reply) {|...OSErr|
|00000870| 20 65 63 3b 0d 09 6c 6f | 6e 67 20 6d 6f 64 65 3b | ec;..lo|ng mode;|
|00000880| 0d 20 0d 09 6d 6f 64 65 | 20 3d 20 6b 41 45 4e 6f |. ..mode| = kAENo|
|00000890| 52 65 70 6c 79 20 2b 20 | 6b 41 45 4e 65 76 65 72 |Reply + |kAENever|
|000008a0| 49 6e 74 65 72 61 63 74 | 3b 0d 20 0d 09 65 63 20 |Interact|;. ..ec |
|000008b0| 3d 20 41 45 53 65 6e 64 | 20 28 65 76 65 6e 74 2c |= AESend| (event,|
|000008c0| 20 72 65 70 6c 79 2c 20 | 6d 6f 64 65 2c 20 6b 41 | reply, |mode, kA|
|000008d0| 45 48 69 67 68 50 72 69 | 6f 72 69 74 79 2c 20 6b |EHighPri|ority, k|
|000008e0| 4e 6f 54 69 6d 65 4f 75 | 74 2c 20 6e 69 6c 2c 20 |NoTimeOu|t, nil, |
|000008f0| 6e 69 6c 29 3b 0d 20 0d | 09 41 45 44 69 73 70 6f |nil);. .|.AEDispo|
|00000900| 73 65 44 65 73 63 20 28 | 65 76 65 6e 74 29 3b 20 |seDesc (|event); |
|00000910| 0d 20 0d 09 49 41 43 67 | 6c 6f 62 61 6c 73 2e 65 |. ..IACg|lobals.e|
|00000920| 72 72 6f 72 63 6f 64 65 | 20 3d 20 65 63 3b 0d 09 |rrorcode| = ec;..|
|00000930| 0d 09 72 65 74 75 72 6e | 20 28 65 63 20 3d 3d 20 |..return| (ec == |
|00000940| 6e 6f 45 72 72 29 3b 0d | 09 7d 20 2f 2a 49 41 43 |noErr);.|.} /*IAC|
|00000950| 73 65 6e 64 76 65 72 62 | 6e 6f 72 65 70 6c 79 2a |sendverb|noreply*|
|00000960| 2f 0d 0d 0d 42 6f 6f 6c | 65 61 6e 20 49 41 43 69 |/...Bool|ean IACi|
|00000970| 73 65 72 72 6f 72 72 65 | 70 6c 79 20 28 53 74 72 |serrorre|ply (Str|
|00000980| 32 35 35 20 65 72 72 6f | 72 73 74 72 69 6e 67 29 |255 erro|rstring)|
|00000990| 20 7b 0d 09 0d 09 2f 2a | 0d 09 72 65 74 75 72 6e | {..../*|..return|
|000009a0| 20 74 72 75 65 20 69 66 | 20 74 68 65 20 72 65 70 | true if| the rep|
|000009b0| 6c 79 20 69 73 20 61 6e | 20 65 72 72 6f 72 20 2d |ly is an| error -|
|000009c0| 2d 20 69 66 20 73 6f 20 | 69 74 20 68 61 73 20 61 |- if so |it has a|
|000009d0| 6e 20 27 65 72 72 6e 27 | 20 76 61 6c 75 65 0d 09 |n 'errn'| value..|
|000009e0| 61 6e 64 20 61 6e 20 27 | 65 72 72 73 27 20 76 61 |and an '|errs' va|
|000009f0| 6c 75 65 2e 20 69 66 20 | 77 65 20 72 65 74 75 72 |lue. if |we retur|
|00000a00| 6e 20 66 61 6c 73 65 2c | 20 74 68 65 20 72 65 70 |n false,| the rep|
|00000a10| 6c 79 20 69 73 20 6e 6f | 74 20 61 6e 20 65 72 72 |ly is no|t an err|
|00000a20| 6f 72 2e 0d 09 2a 2f 0d | 09 0d 09 4f 53 45 72 72 |or...*/.|...OSErr|
|00000a30| 20 65 63 3b 0d 09 41 45 | 44 65 73 63 20 64 65 73 | ec;..AE|Desc des|
|00000a40| 63 3b 0d 09 0d 09 65 63 | 20 3d 20 41 45 47 65 74 |c;....ec| = AEGet|
|00000a50| 50 61 72 61 6d 44 65 73 | 63 20 28 49 41 43 67 6c |ParamDes|c (IACgl|
|00000a60| 6f 62 61 6c 73 2e 72 65 | 70 6c 79 2c 20 28 41 45 |obals.re|ply, (AE|
|00000a70| 4b 65 79 77 6f 72 64 29 | 20 27 65 72 72 6e 27 2c |Keyword)| 'errn',|
|00000a80| 20 27 73 68 6f 72 27 2c | 20 26 64 65 73 63 29 3b | 'shor',| &desc);|
|00000a90| 0d 09 0d 09 69 66 20 28 | 65 63 20 21 3d 20 6e 6f |....if (|ec != no|
|00000aa0| 45 72 72 29 20 2f 2a 74 | 68 65 20 72 65 70 6c 79 |Err) /*t|he reply|
|00000ab0| 20 69 73 6e 27 74 20 61 | 6e 20 65 72 72 6f 72 2a | isn't a|n error*|
|00000ac0| 2f 0d 09 09 72 65 74 75 | 72 6e 20 28 66 61 6c 73 |/...retu|rn (fals|
|00000ad0| 65 29 3b 0d 0d 09 41 45 | 44 69 73 70 6f 73 65 44 |e);...AE|DisposeD|
|00000ae0| 65 73 63 20 28 26 64 65 | 73 63 29 3b 0d 09 0d 09 |esc (&de|sc);....|
|00000af0| 65 63 20 3d 20 41 45 47 | 65 74 50 61 72 61 6d 44 |ec = AEG|etParamD|
|00000b00| 65 73 63 20 28 49 41 43 | 67 6c 6f 62 61 6c 73 2e |esc (IAC|globals.|
|00000b10| 72 65 70 6c 79 2c 20 28 | 41 45 4b 65 79 77 6f 72 |reply, (|AEKeywor|
|00000b20| 64 29 20 27 65 72 72 73 | 27 2c 20 27 54 45 58 54 |d) 'errs|', 'TEXT|
|00000b30| 27 2c 20 26 64 65 73 63 | 29 3b 0d 09 0d 09 69 66 |', &desc|);....if|
|00000b40| 20 28 65 63 20 21 3d 20 | 6e 6f 45 72 72 29 0d 09 | (ec != |noErr)..|
|00000b50| 09 49 41 43 63 6f 70 79 | 73 74 72 69 6e 67 20 28 |.IACcopy|string (|
|00000b60| 22 5c 70 55 6e 6b 6e 6f | 77 6e 20 65 72 72 6f 72 |"\pUnkno|wn error|
|00000b70| 2e 22 2c 20 65 72 72 6f | 72 73 74 72 69 6e 67 29 |.", erro|rstring)|
|00000b80| 3b 0d 09 65 6c 73 65 20 | 7b 0d 09 09 6c 6f 6e 67 |;..else |{...long|
|00000b90| 20 6c 65 6e 73 74 72 69 | 6e 67 20 3d 20 47 65 74 | lenstri|ng = Get|
|00000ba0| 48 61 6e 64 6c 65 53 69 | 7a 65 20 28 64 65 73 63 |HandleSi|ze (desc|
|00000bb0| 2e 64 61 74 61 48 61 6e | 64 6c 65 29 3b 0d 09 09 |.dataHan|dle);...|
|00000bc0| 0d 09 09 69 66 20 28 6c | 65 6e 73 74 72 69 6e 67 |...if (l|enstring|
|00000bd0| 20 3e 20 32 35 35 29 0d | 09 09 09 6c 65 6e 73 74 | > 255).|...lenst|
|00000be0| 72 69 6e 67 20 3d 20 32 | 35 35 3b 0d 09 09 09 0d |ring = 2|55;.....|
|00000bf0| 09 09 65 72 72 6f 72 73 | 74 72 69 6e 67 20 5b 30 |..errors|tring [0|
|00000c00| 5d 20 3d 20 28 63 68 61 | 72 29 20 6c 65 6e 73 74 |] = (cha|r) lenst|
|00000c10| 72 69 6e 67 3b 0d 09 09 | 0d 09 09 42 6c 6f 63 6b |ring;...|...Block|
|00000c20| 4d 6f 76 65 20 28 2a 64 | 65 73 63 2e 64 61 74 61 |Move (*d|esc.data|
|00000c30| 48 61 6e 64 6c 65 2c 20 | 26 65 72 72 6f 72 73 74 |Handle, |&errorst|
|00000c40| 72 69 6e 67 20 5b 31 5d | 2c 20 6c 65 6e 73 74 72 |ring [1]|, lenstr|
|00000c50| 69 6e 67 29 3b 0d 09 09 | 7d 0d 09 0d 09 41 45 44 |ing);...|}....AED|
|00000c60| 69 73 70 6f 73 65 44 65 | 73 63 20 28 26 64 65 73 |isposeDe|sc (&des|
|00000c70| 63 29 3b 0d 09 0d 09 72 | 65 74 75 72 6e 20 28 74 |c);....r|eturn (t|
|00000c80| 72 75 65 29 3b 20 2f 2a | 74 68 65 72 65 20 77 61 |rue); /*|there wa|
|00000c90| 73 20 61 6e 20 65 72 72 | 6f 72 20 72 65 74 75 72 |s an err|or retur|
|00000ca0| 6e 65 64 2a 2f 0d 09 7d | 20 2f 2a 49 41 43 69 73 |ned*/..}| /*IACis|
|00000cb0| 65 72 72 6f 72 72 65 70 | 6c 79 2a 2f 0d 0d 0d 42 |errorrep|ly*/...B|
|00000cc0| 6f 6f 6c 65 61 6e 20 49 | 41 43 64 69 73 70 6f 73 |oolean I|ACdispos|
|00000cd0| 65 76 65 72 62 20 28 41 | 70 70 6c 65 45 76 65 6e |everb (A|ppleEven|
|00000ce0| 74 20 2a 65 76 65 6e 74 | 29 20 7b 0d 09 0d 09 49 |t *event|) {....I|
|00000cf0| 41 43 67 6c 6f 62 61 6c | 73 2e 65 72 72 6f 72 63 |ACglobal|s.errorc|
|00000d00| 6f 64 65 20 3d 20 41 45 | 44 69 73 70 6f 73 65 44 |ode = AE|DisposeD|
|00000d10| 65 73 63 20 28 65 76 65 | 6e 74 29 3b 0d 0d 09 72 |esc (eve|nt);...r|
|00000d20| 65 74 75 72 6e 20 28 49 | 41 43 67 6c 6f 62 61 6c |eturn (I|ACglobal|
|00000d30| 73 2e 65 72 72 6f 72 63 | 6f 64 65 20 3d 3d 20 6e |s.errorc|ode == n|
|00000d40| 6f 45 72 72 29 3b 0d 09 | 7d 20 2f 2a 49 41 43 64 |oErr);..|} /*IACd|
|00000d50| 69 73 70 6f 73 65 76 65 | 72 62 2a 2f 0d 09 0d 09 |isposeve|rb*/....|
|00000d60| 0d 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 46 |.......L|...L...F|
|00000d90| 02 09 15 ab c9 73 c4 ca | 65 4e ff 00 00 0c 48 a8 |.....s..|eN....H.|
|00000da0| 9f 65 72 00 12 08 01 00 | 00 12 f0 28 03 00 00 00 |.er.....|...(....|
|00000db0| 09 69 61 63 73 65 6e 64 | 2e 63 02 00 00 00 50 61 |.iacsend|.c....Pa|
|00000dc0| 72 74 53 49 54 78 00 00 | 00 00 00 00 00 00 00 01 |rtSITx..|........|
|00000dd0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 a9 81 44 d7 00 00 | 00 00 00 00 01 92 60 01 |....D...|......`.|
|00000e00| a9 62 28 01 6d 48 7f 55 | 01 10 28 c9 bd 01 00 fe |.b(.mH.U|..(.....|
|00000e10| 11 66 16 7f 01 42 28 54 | 60 12 3f 06 a9 63 7f 11 |.f...B(T|`.?..c..|
|00000e20| 11 7c 01 00 ff 54 11 60 | 24 18 20 54 50 88 43 ee |.|...T.`|$. TP.C.|
|00000e30| ff f8 22 d8 22 d8 41 ee | ff f8 c8 4c 01 ff 76 60 |..".".A.|...L..v`|
|00000e40| 2a 12 2f 0c 4e ba 01 00 | 76 12 50 8f 4c ee 01 10 |*./.N...|v.P.L...|
|00000e50| c0 14 ff ec 4e 5e 4e 75 | 4e 56 12 ff f8 2f 0c 13 |....N^Nu|NV.../..|
|00000e60| 28 6e 00 08 20 54 1b 50 | 88 43 ee ff f8 22 d8 22 |(n.. T.P|.C..."."|
|00000e70| d8 41 ee ff f8 48 6e ff | f8 2f 0c 4e ba 11 00 7a |.A...Hn.|./.N...z|
|00000e80| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ea0| 00 00 00 00 00 00 00 06 | 00 04 00 4c 00 10 01 d6 |........|...L....|
|00000eb0| 02 40 00 4c 00 10 01 d6 | 02 40 a8 38 1b 6b 00 00 |.@.L....|.@.8.k..|
|00000ec0| 00 8a 00 00 00 93 00 00 | 02 e7 01 00 00 00 01 00 |........|........|
|00000ed0| 00 00 01 4c 00 00 00 4c | 00 00 00 46 00 7b 1b 1c |...L...L|...F.{..|
|00000ee0| 18 3e 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.>.....2|..MPSR..|
|00000ef0| 00 0a 03 ed 00 00 00 00 | 00 00 00 7b 19 8c 13 43 |........|...{...C|
|00000f00| 72 65 61 74 65 64 20 62 | 79 20 43 4d 61 73 74 65 |reated b|y CMaste|
|00000f10| 72 aa 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00000f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+